package dao;

import dao.jdbc.StudentDAO;
import dao.jdbc.UserDAO;

public class DAOFactory {
	private static UserDAOI udao;
	private static StudentDAOI sdao;
	static {
		udao = new UserDAO();
		sdao = new StudentDAO();
	}
	
	public static UserDAOI getUserDAO(){
		return udao;
	}
	
	public static StudentDAOI getStudentDAO(){
		return sdao;
	}
}
